{{extend 'layout.html'}}

<h1>{{=T('List All Users')}}</h1>

<div align="center">
{{if len(records) == 0:}}
	<h5>{{=T('No Data')}}</h5>
{{else:}}
	 <table>
               <thead>
                    <tr>
                            <th>{{=db.auth_user.id.label}}</th>
                            <th>{{=db.auth_user.first_name.label}}</th>
							<th>{{=db.auth_user.aboutMe.label}}</th>
							<th>{{=db.auth_user.interestedIn.label}}</th>
                            <th></th>
                    </tr>
               </thead>
			   {{for tupla in records:}}
                        <tr>
                                <td>{{=tupla.id}}</td>
                                <td width="50px" height="100px">{{=tupla.first_name}}</td>
								<td width="400px" height="100px">{{=tupla.aboutMe}}</td>
								<td width="200px" height="100px">{{=tupla.interestedIn}}</td>
								<td>
                                        <a href="view/{{=tupla.id}}">{{=T('View')}}</a> 
                                </td>
                        </tr>
                        {{pass}}
                </table>
        {{pass}}
 </div>